local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1
L0_1 = {}
L0_1.group_id = 133223107
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 107001
L2_1.gadget_id = 70310091
L3_1 = {}
L3_1.x = -6024.256
L3_1.y = 164.284
L3_1.z = -2832.408
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 342.264
L3_1.y = 87.24
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 33
L2_1.persistent = true
L2_1.interact_id = 47
L2_1.area_id = 18
L3_1 = {}
L3_1.config_id = 107002
L3_1.gadget_id = 70310092
L4_1 = {}
L4_1.x = -6009.916
L4_1.y = 164.157
L4_1.z = -2841.108
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 340.841
L4_1.y = 336.646
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 33
L3_1.persistent = true
L3_1.interact_id = 47
L3_1.area_id = 18
L4_1 = {}
L4_1.config_id = 107003
L4_1.gadget_id = 70310093
L5_1 = {}
L5_1.x = -6003.665
L5_1.y = 164.254
L5_1.z = -2835.172
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 350.178
L5_1.y = 294.9
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 33
L4_1.persistent = true
L4_1.interact_id = 47
L4_1.area_id = 18
L5_1 = {}
L5_1.config_id = 107004
L5_1.gadget_id = 70310094
L6_1 = {}
L6_1.x = -5997.934
L6_1.y = 164.029
L6_1.z = -2822.616
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 78.612
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 33
L5_1.persistent = true
L5_1.interact_id = 47
L5_1.area_id = 18
L6_1 = {}
L6_1.config_id = 107005
L6_1.gadget_id = 70310095
L7_1 = {}
L7_1.x = -6023.346
L7_1.y = 164.261
L7_1.z = -2813.077
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 314.537
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 33
L6_1.persistent = true
L6_1.interact_id = 47
L6_1.area_id = 18
L7_1 = {}
L7_1.config_id = 107006
L7_1.gadget_id = 70310096
L8_1 = {}
L8_1.x = -6026.524
L8_1.y = 163.929
L8_1.z = -2823.921
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 288.329
L8_1.z = 11.937
L7_1.rot = L8_1
L7_1.level = 33
L7_1.persistent = true
L7_1.interact_id = 47
L7_1.area_id = 18
L8_1 = {}
L8_1.config_id = 107007
L8_1.gadget_id = 70310097
L9_1 = {}
L9_1.x = -6012.624
L9_1.y = 164.859
L9_1.z = -2808.963
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 348.072
L9_1.y = 6.884
L9_1.z = 341.916
L8_1.rot = L9_1
L8_1.level = 33
L8_1.persistent = true
L8_1.interact_id = 47
L8_1.area_id = 18
L9_1 = {}
L9_1.config_id = 107008
L9_1.gadget_id = 70211131
L10_1 = {}
L10_1.x = -6011.559
L10_1.y = 163.543
L10_1.z = -2824.083
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 0.0
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 26
L9_1.drop_tag = "\232\167\163\232\176\156\232\182\133\231\186\167\231\168\187\229\166\187"
L9_1.isOneoff = true
L9_1.persistent = true
L10_1 = {}
L10_1.name = "chest"
L10_1.exp = 1
L9_1.explore = L10_1
L9_1.area_id = 18
L10_1 = {}
L10_1.config_id = 107010
L10_1.gadget_id = 70211131
L11_1 = {}
L11_1.x = -6011.612
L11_1.y = 162.888
L11_1.z = -2826.249
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 0.0
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 26
L10_1.drop_tag = "\232\167\163\232\176\156\232\182\133\231\186\167\231\168\187\229\166\187"
L10_1.isOneoff = true
L10_1.persistent = true
L11_1 = {}
L11_1.name = "chest"
L11_1.exp = 1
L10_1.explore = L11_1
L10_1.area_id = 18
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1107009
L2_1.name = "GADGET_STATE_CHANGE_107009"
L3_1 = EventType
L3_1 = L3_1.EVENT_GADGET_STATE_CHANGE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_107009"
L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_107009"
L2_1.trigger_count = 0
L3_1 = {}
L3_1.config_id = 1107011
L3_1.name = "GADGET_CREATE_107011"
L4_1 = EventType
L4_1 = L4_1.EVENT_GADGET_CREATE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_GADGET_CREATE_107011"
L3_1.action = "action_EVENT_GADGET_CREATE_107011"
L3_1.trigger_count = 0
L1_1[1] = L2_1
L1_1[2] = L3_1
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "progress"
L2_1.value = 0
L2_1.no_refresh = true
L1_1[1] = L2_1
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 107001
L5_1 = 107002
L6_1 = 107003
L7_1 = 107004
L8_1 = 107005
L9_1 = 107006
L10_1 = 107007
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L3_1[7] = L10_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_STATE_CHANGE_107009"
L3_1[1] = L4_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 107008
L6_1 = 107010
L4_1[1] = L5_1
L4_1[2] = L6_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "GADGET_CREATE_107011"
L4_1[1] = L5_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGroupVariableValue
  L3_2 = A0_2
  L4_2 = "progress"
  L2_2 = L2_2(L3_2, L4_2)
  L3_2 = suites
  L3_2 = L3_2[1]
  L3_2 = L3_2.gadgets
  L3_2 = #L3_2
  if L2_2 == L3_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_107009 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = A1_2.param1
  L3_2 = GadgetState
  L3_2 = L3_2.GearStart
  if L2_2 == L3_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.ChangeGroupVariableValue
    L3_2 = A0_2
    L4_2 = "progress"
    L5_2 = 1
    L2_2(L3_2, L4_2, L5_2)
  else
    L2_2 = A1_2.param1
    L3_2 = GadgetState
    L3_2 = L3_2.Default
    if L2_2 == L3_2 then
      L2_2 = ScriptLib
      L2_2 = L2_2.ChangeGroupVariableValue
      L3_2 = A0_2
      L4_2 = "progress"
      L5_2 = -1
      L2_2(L3_2, L4_2, L5_2)
    end
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGroupVariableValue
  L3_2 = A0_2
  L4_2 = "progress"
  L2_2 = L2_2(L3_2, L4_2)
  L3_2 = suites
  L3_2 = L3_2[1]
  L3_2 = L3_2.gadgets
  L3_2 = #L3_2
  if L2_2 == L3_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.AddExtraGroupSuite
    L3_2 = A0_2
    L4_2 = 133223107
    L5_2 = 2
    L2_2(L3_2, L4_2, L5_2)
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_107009 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2
  L2_2 = A1_2.param1
  if 107008 ~= L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_GADGET_CREATE_107011 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2
  L2_2 = ScriptLib
  L2_2 = L2_2.MarkPlayerAction
  L3_2 = A0_2
  L4_2 = 6067
  L5_2 = 3
  L6_2 = 1
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : mark_playerAction"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_GADGET_CREATE_107011 = L1_1
